package demo;

public class Test {
    public static void main(String[] args) {
        Animal cat = new Cat("cat", 1);
        Animal dog = new Dog("dog", 2);
        cat.eat();
        dog.eat();

    }
}
